package com.rt.system.domain;

import com.rt.common.annotation.Excel;
import com.rt.common.core.domain.BaseEntity;

/**
 * 重要度对象 rt_importance_info
 * 
 * @author Yg
 * @date 2022-04-15
 */
public class RtImportanceInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 重要度编码 */
    @Excel(name = "重要度编码")
    private String code;

    /** 重要度名称 */
    @Excel(name = "重要度名称")
    private String name;

    /** 状态，0：禁用，1：启用（默认） */
    @Excel(name = "状态，0：禁用，1：启用", readConverterExp = "默=认")
    private Integer status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return "RtImportanceInfo{" +
                "id=" + id +
                ", code='" + code + '\'' +
                ", name='" + name + '\'' +
                ", status=" + status +
                '}';
    }
}
